//导入request.js
import request from "@/utils/request";

export const USER_LOGIN = params => request.post('/system/login', params)

export const SELECT_USER_MENU = params => request.post('/system/selectUserMenu', params, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})
// //查询所有车辆信息
// export const SELECT_ALL_CAR_INFO = params => request.post('/car/selectAllCarInfo', params, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})
//
// export const SELECT_FILTER= params => request.post('/car/selectFilter', params, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})
//
// //编辑车辆信息
// export const EDIT_CAR_INTO = params => request.post('/car/editCarInfo', params,)
//
// //下载车辆信息
// export const DOWNLOAD_CAR_INFO = () => window.location.href = '/car/downloadCarInfo'
//
// //根据ID删除车辆信息
// export const DELETE_CAR_INFO_BY_ID = params => request.post('/car/deleteCarInfoById', params, {headers: {'Content-Type': 'application/x-www-form-urlencoded'}})